<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>회원정보 변경/비번 확인</title>
<link type="text/css" rel="stylesheet" href="/spring-GOP/css/common.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/style.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/myprimus/style_50.css">
    <link type="text/css" rel="stylesheet" href="/spring-GOP/css/myprimus/style_5050.css">
</head>
<script>
function match(){
	

	var pw =  document.getElementById("UserPwd_txt").value;


	if(pw == '${user.getMember_pw()}'){
		alert("성공");
		document.forms["frmPreConfirmPassword"].submit(); 	
	}else{
		alert("실패 다시 입력");
		UserPwd_txt.focus();
		return;
	}
	
}

</script>

<body>

<div id="wrapper">

	<!-- container -->
<div id="container">
    <!-- content -->
    <div id="content">
        <!-- main-shortCut -->
        <div id="main-shortCut">
            <!-- sub-main-section -->
            <div class="sub-main-section c50 c5050">
                <div class="page-type3">
                    <h2><p>MY Primus</p>MY <span>Primus</span></h2>
                </div>

                <!-- listTab mainTab -->
                <div class="listTab mainTab">
                    <ul style="height: 371px;">
                        <li>
                            <p class="line" style="width: 990px; display: none;"></p>
                            <h3 class="tab-title"><a href="/spring-GOP/myprimus/reservation/reservation" title="예매확인/취소"><span style="width: 196px;">예매확인/취소</span></a></h3>
                            <!-- main-tab tab-content -->
                            <ul class="ul-tab main-tab tab-content" style="display: none;">
                            </ul>
                            <!-- //main-tab tab-content -->
                        </li>
                        <li>
                            <p class="line" style="width: 990px; display: none;"></p>
                            <h3 class="tab-title"><a href="/spring-GOP/myprimus/mypoint/mypoint" title="MY포인트"><span style="width: 196px;">MY 포인트</span></a></h3>
                            <!-- main-tab tab-content -->
                            <ul class="ul-tab main-tab tab-content" style="display: none;">
                            </ul>
                            <!-- //main-tab tab-content -->
                        </li>
                         <li>
                            <p class="line" style="width: 990px; display: block;"></p>
                            <h3 class="tab-title on"><a href="/spring-GOP/myprimus/meminfomodileave/userinfolog" title="회원정보수정/탈퇴"><span style="width: 196px;">회원정보수정/탈퇴</span></a></h3>
                            <!-- main-tab tab-content -->
                            <div class="ul-tab main-tab tab-content margin-top40" style="width: 948px; padding: 0px 20px; display: block;">
                                <div>
                                    <h4 class="margin-top5 margin-bottom5">회원정보수정/탈퇴</h4>
                                    <!-- UserInfo2 -->
                                    <div class="UserInfo2">

                                        <!-- 회원정보 수정 이전 비밀번호 확인 -->
                                        <form method="post" id="frmPreConfirmPassword" name="frmPreConfirmPassword" novalidate="novalidate">
                                            <div class="mem-confirm-section">
                                                <p class="UserInfo_txt1">회원님의 정보를 안정하게 보호하기 위해 로그인을 한번 더 하셔야 합니다. 회원정보 관리에서는 비밀번호 변경, 주소/전화번호 등의 정보를 확인, 수정 하실 수 있습니다.</p>
                                                <div class="UserInfo_box">
                                                    <p class="UserInfo_txt2">아이디<span class="UserId_txt">${user.getMember_id()}</span></p>
                                                    <input type="hidden" id = "UserId_txt" name = "UserId_txt" value="{user.getMemberId()}">
                                                    <div class="UserInfo_txt3 input-box">
                                                        <dl>
                                                            <dt>
                                                                <label for="UserPwd_txt">비밀번호 </label>
                                                            </dt>
                                                            <dd>
                                                                <input type="password" id="UserPwd_txt" class="input-box name_txt" name="UserPwd_txt" title="비밀번호">
                                                            </dd>
                                                        </dl>
                                                    </div>
                                                </div>
                                                <p class="UserInfo-btn"><a href="javascript:match();" class="button h30 w75 orange " title=""><b>확인</b></a></p>
                                            </div>

                                            <input type="hidden" id="_UserPwd_txt" name="_UserPwd_txt" value="">
                                        </form>
                                        
                                    </div>
                                    <!-- //UserInfo2 -->
                                </div>

                            </div>
                            <!-- //main-tab tab-content -->
                        </li>

                    </ul>
                </div>
                <!-- //listTab mainTab -->

            </div>
            <!-- //sub-main-section -->
        </div>
        <!-- //main-shortCut -->
    </div>
    <!-- //content -->
</div>
<!-- //container -->

	
</div>
</body>
</html>